﻿@import "_reset.less";

body{
  font-family:"Microsoft YaHei",simSun,"Lucida Grande","Lucida Sans Unicode",Arial;
}

#loading {
  position   : fixed;
  z-index    : 999999;
  left       : 0;
  right      : 0;
  top        : 0;
  bottom     : 0;
  background : #000;

  .tip {
    position    : absolute;
    width       : 100%;
    height      : 0;
    left        : 0;
    top         : 50%;
    margin-top  : -12px;
    font-size   : 24px;
    color       : #fff;
    text-align  : center;
  }
}

.page {
  overflow: hidden;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
  background-repeat: no-repeat !important;
  background-size: 100% auto !important;
  background-position: center top !important;

  .bottom-nav-bg {
    position: fixed;
    width: 960px;
    height: 188px;
    left: 50%;
    bottom: 0;
    margin-left: -480px;
    background: url(../img/bottom-nav-bg.png);
  }

  .about-nav{
    // position: absolute;
    position: fixed;
    left: 0;
    bottom: 0;
    width: 328px;
    height: 150px;
  }
  .reward-nav{
    // position: absolute;
    position: fixed;
    left: 328px;
    bottom: 0;
    width: 339px;
    height: 150px
  }
  .rule-nav{
    // position: absolute;
    position: fixed;
    left: 667px;
    bottom: 0;
    width: 293px;
    height: 150px
  }

  // .qrcode{
  //   display: none;
  //   width: 175px;
  //   height: 175px;
  //   display: block;
  //   position: absolute;
  //   bottom:60px;
  //   left: 50%;
  //   margin-left: -87px;
  // }
  .attention-txt{
    color:white;
    font-weight: bold;
    font-size: 28px;
    position: absolute;
  }
}

//首页
.page-home {
  background: url(../img/home-bg.jpg);
  z-index: 1;
  .join-wrap{
    position: absolute;
    left: 50%;
    bottom:200px;
    width: 758px;
    height: 451px;
    .translate(-50%,0);
    background: url(../img/join-txt.png) 0 0 no-repeat;
  }
  .join-btn{
    position: absolute;
    left: 50%;
    bottom: 0;
    margin-left: -226px;
    width: 452px;
    height: 134px;
    text-indent: -9999px;
  }
}

//探索
.page-explore{
  display: none;
  background: url(../img/explore-bg.jpg);
  z-index: 2;
  .fuel-txt{
    position: absolute;
    bottom:230px;
    left: 0;
    width: 960px;
    font-size: 30px;
    font-weight: bold;
    color:white;
    text-align: center;
  }
  .ship{
    position: absolute;
    width: 388px;
    height: 168px;
    top:-168px;
    right: -388px;
    .transition(all 3s cubic-bezier(0,-0.32, 0, 0.83));
    &.active{
      top:320px;
      right: 200px;
    }

    // .animation(flight 3s cubic-bezier(0,-0.32, 0, 0.83) alternate);
    // .keyframes(flight, {
    //       from {
    //           .translate(0,0);
    //       }
    //       to {
    //           top:650px;
    //           right: 960px;
    //       }
    // })
  }
  .explore-wrap{
    position: absolute;
    left:50%;
    bottom:300px;
    width: 781px;
    height: 485px;
    .translate(-50%,0);
    background: url(../img/explore-txt.png) 0 0 no-repeat;
  }
  .explore-btn{
    position: absolute;
    width: 480px;
    height: 125px;
    bottom:20px;
    left: 50%;
    .translate(-50%,0);
    text-indent: -9999px;
  }
}

//激活码
.page-code{
  display: none;
  background: url(../img/code-bg.jpg);
  z-index: 3;
  .code-wrap{
    position: absolute;
    left: 50%;
    bottom: 200px;
    width: 735px;
    height: 535px;
    .translate(-50%,0);
    background: url(../img/code-txt.png) 0 0 no-repeat;
    .invite-btn{
      position: absolute;
      left:50%;
      bottom:270px;
      display: block;
      width: 580px;
      height: 160px;
      .translate(-50%,0);
    }
  }
}
.qrcode{
  display: none;
  width: 175px;
  height: 275px;
  position: relative;
  top:0;
  left: 50%;
  margin-left: -87px;
  z-index: 9;
  img{
    position: absolute;
    top:0;
    left:0;
    z-index: 500;
  }
}

//点卡
.page-card{
  display: none;
  background: url(../img/card-bg.jpg);
  z-index: 4;
  .card-wrap{
    position: absolute;
    left: 50%;
    bottom: 200px;
    width: 709px;
    height: 529px;
    .translate(-50%,0);
    background: url(../img/card-txt.png) 0 0 no-repeat;
    .invite-btn{
      position: absolute;
      left:50%;
      bottom:250px;
      display: block;
      width: 580px;
      height: 150px;
      .translate(-50%,0);
    }
  }
}

//
.page-fail{
  display: none;
  background: url(../img/fail-bg.jpg);
  z-index: 5;
  .fail-wrap{
    position: absolute;
    left: 50%;
    bottom: 205px;
    width: 735px;
    height: 482px;
    .translate(-50%,0);
    background: url(../img/fail-txt.png) 0 0 no-repeat;
    .invite-btn{
      position: absolute;
      left:50%;
      bottom:250px;
      display: block;
      width: 580px;
      height: 140px;
      .translate(-50%,0);
    }
  }
}


//遮罩层
.mask-pop{
  display: none;
  position: absolute;
  width: 100%;
  left: 0;
  right: 0;
  top: 0;
  bottom:0;
  background-color:black;
  z-index: 999;
  .opacity();
}

//规则
.rule-pop{
  display: none;
  position: absolute;
  top:50%;
  left: 50%;
  z-index: 1000;
  width: 852px;
  height: 1344px;
  padding:170px 100px 0 140px;
  .box-sizing();
  .translate(-50%,-50%);
  background: url(../img/rule-bg.png) 0 0 no-repeat;
  .close-btn{
    position: absolute;
    top:30px;
    right: 35px;
    width: 95px;
    height: 95px;
    display: block;
    text-indent: -9999px;
  }
  p{
    color:white;
    font-size: 26px;
    line-height: 30px;
    padding-left: 5px;
    margin-top: 38px;
  }
  .info{
    margin-top:0px;
  }
  .num{
    display: inline-block;
    width: 61px;
    padding-right: 10px;
    height: 61px;
    text-align: center;
    line-height: 61px;
    color:black;
    background: url(../img/num-bg.png) 0 0 no-repeat;
    margin-left: -71px;
  }
}

.reward-pop{
  display: none;
  position: absolute;
  top:50%;
  left: 50%;
  z-index: 1000;
  width: 852px;
  height: 997px;
  .translate(-50%,-50%);
  background: url(../img/reward-bg.png) 0 0 no-repeat;
  .box-sizing();
  padding:290px 80px 0 120px;
  color:white;
  font-size: 30px;
  font-weight: bold;
  .close-btn{
    position: absolute;
    top:30px;
    right: 35px;
    width: 95px;
    height: 95px;
    display: block;
    text-indent: -9999px;
  }
  a{
    color:white;
    text-decoration: underline;
  }
  p{
    margin-bottom: 90px;
  }
}

.share-pop{
  display: none;
  position: absolute;
  top:40px;
  right: 50px;
  left: 0;
  height: 500px;
  z-index: 1000;
  background: url(../img/share-icon.png) right top no-repeat;
}
